package com.easydata.agent.core;

import com.easydata.agent.core.entity.TaskDefinition;
import lombok.Data;

@Data
public class Task {
    private int state;
    private String id;
    private DAG dag;
    private TaskDefinition taskDefinition;
    private DAGContext context;
    private Thread executionThread;
    private Exception exception;
    private String currentTaskId;

    public void cleanup() {

    }
}
